package cn.ittaoli.szdz.service.Impl;

import cn.ittaoli.szdz.model.Admin;
import cn.ittaoli.szdz.dao.AdminMapper;
import cn.ittaoli.szdz.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lub_lenovo on 2017/8/15.
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminMapper adminMapper;

    public List<Admin> selectAll() {
        return adminMapper.selectAll();
    }
}
